import { getRandomDateTime, getNowDate, getFeatureDate } from '../../../utils'
export const resourceLibraryFolderMock = () => {
  const result: any[] = [
    { id: 1, parentId: 0, name: '图片', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 2, parentId: 0, name: '视频', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 3, parentId: 0, name: '音乐', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 4, parentId: 0, name: '文档', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 5, parentId: 0, name: '商城装修', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 6, parentId: 5, name: '首页', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 7, parentId: 5, name: '产品', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 8, parentId: 5, name: '个人中心', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 9, parentId: 1, name: '2025-02-26', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 10, parentId: 2, name: '合成视频', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 11, parentId: 3, name: '背景音乐', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 12, parentId: 4, name: '压缩包', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 13, parentId: 4, name: '软件安装包', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 14, parentId: 0, name: '用户空间', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 15, parentId: 14, name: '张三', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 16, parentId: 15, name: '图片', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 17, parentId: 15, name: '视频', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 18, parentId: 15, name: '音乐', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' },
    { id: 19, parentId: 15, name: '文档', sort: 1, creator: '1', create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()), updater: '', update_time: '', deleted: false, deleted_time: '' }
  ]
  return result
}
